package com.nidu.demo.file.dto;

import com.nidu.demo.base.BaseCmd;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * 文件配置更新命令
 *
 * @author auto
 */
@Data
@Schema(description = "文件配置更新命令")
@EqualsAndHashCode(callSuper = true)
public class FileConfigUpdateCmd extends FileConfigAddCmd {

    @NotNull(message = "ID不能为空")
    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

}